package com.example.client.service;

import cn.example.server.dto.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.List;

/**
 * @Author: YAOZUN
 * @Date: Created in 20:26 2018/12/15 0015
 * @Description:
 */

@WebService(targetNamespace="http://service.server.example.com")
public interface  CxfService {

    //小数据
    @WebMethod(operationName="sayHello")
    String sayHello(@WebParam(name = "User") String msg);

    @WebMethod(operationName="bigMsg")
    List<User> bigMsg();

}
